<?php /*
 * @see eve_certifications_admin_list()
 * @see template_preprocess_eve_certifications_admin_list(&$variables)
 */ ?>
<table>
<tr>
	<th> Name </th>
	<th> Ribbon Image </th>
	<th> Significance </th>
	<th colspan="2">Actions</th>
</tr>
<?php
foreach ($certs as $cert) { 
	print "<tr>";
	print "<td>" . l($cert['name'], $cert['wiki_url']) . "</td>";
	if (($cert['ribbon_image_url'] != NULL) && ('' != trim($cert['ribbon_image_url']))) {
		print "<td><img src='" . $cert['ribbon_image_url'] . "'/></td>";
	} else {
		print "<td><i>none</i>/></td>";
	}
	print "<td>" . $cert['significance'] . "</td>";
	print "<td>" . l(t('edit'), 'admin/settings/eve_certifications/edit/'. $cert['cert_id']) . "</td>";
	print "<td>" . l(t('delete'), 'admin/settings/eve_certifications/delete/'. $cert['cert_id']) . "</td>";
	print "</tr>";
}
?>
</table>
